package com.sptpc.demo.service;

import com.sptpc.demo.model.Order;

import java.util.List;

public interface IOrderService {

    void addOrder(Order order, List<Integer> items);

    void deleteOrder(Integer id);

    List<Order> getOrdersByCustomer(String customer);

    Order getOrderById(Integer id);

    void updateOrder(Order order);
}
